$OpenBSD: patch-Modules_FindQt3_cmake,v 1.8 2014/12/31 11:06:02 dcoppa Exp $
--- Modules/FindQt3.cmake.orig	Thu Jul 31 17:03:56 2014
+++ Modules/FindQt3.cmake	Wed Sep  3 08:10:09 2014
@@ -161,7 +161,7 @@ find_library(QT_QASSISTANTCLIENT_LIBRARY
 
 # Qt 3 should prefer QTDIR over the PATH
 find_program(QT_MOC_EXECUTABLE
-  NAMES moc-qt3 moc3 moc3-mt moc
+  NAMES moc3 moc-qt3 moc3-mt moc
   HINTS
     ENV QTDIR
   PATHS
@@ -186,7 +186,7 @@ endif()
 
 # Qt 3 should prefer QTDIR over the PATH
 find_program(QT_UIC_EXECUTABLE
-  NAMES uic-qt3 uic3 uic3-mt uic
+  NAMES uic3 uic-qt3 uic3-mt uic
   HINTS
     ENV QTDIR
   PATHS
